home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / FW_MProxy < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  948 b   |  [TEXT/ttxt]

  1. Subject:     FW_MProxy
  2. Sent:        6/28/96 3:24 PM
  3. Received:    6/28/96 3:41 PM
  4. From:        Rob Cope, rob@eclipse.cpcn.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8.  
  9.                                                                  Date: 6/28/96
  10. Subject:  FW_MProxy                                             Time:  5:01 PM
  11. It would be helpful if FW_MProxy had a GetEmbeddedFramesViewType method (maybe with a shorter name).  I need it so I can draw the selection without resize handles when the view type is not ViewAsFrame . I am currently getting the view type like this:
  12.  
  13. ODTypeToken MyProxy::GetViewType(Environment *ev)
  14. {
  15.     FW_CProxyProxyFrameIterator ite(this);
  16.     FW_CProxyFrame* proxyFrame = ite.First();
  17.     FW_ASSERT(proxyFrame != NULL);
  18.     return proxyFrame->GetFrame(ev)->GetViewType(ev);
  19. }
  20.  
  21. Is this the best way for now?
  22.  
  23. Rob Cope
  24. Eclipse Services
  25.  
  26.